﻿<UserControl x:Class="Presence_Art_Screen_Saver.Particle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Image x:Name="imgStatus" Grid.Row="0">
            <Image.LayoutTransform>
                <RotateTransform CenterX="0.5" CenterY="0.5" />
            </Image.LayoutTransform>
          
        </Image>
        <Label x:Name="lblDisplayName" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Bottom" Foreground="White" IsHitTestVisible="False" FontSize="13">Test</Label>
    </Grid> 

<UserControl.Resources>

        <Storyboard x:Key="sbdRotation">
            <DoubleAnimation AutoReverse="True" 
            Storyboard.TargetName="imgStatus" 
            Storyboard.TargetProperty="Opacity"
            From="1.0" To="0.0" Duration="00:00:02.5" RepeatBehavior="Forever" />
        </Storyboard>


    </UserControl.Resources>
</UserControl>